package com.mingtai.design.pattern.creationalming.abstractfactory;

/**
 * @description:
 * @author: mingtai
 * @createDate: 1:19 2021/1/9
 * @version: 1.0
 */

public class PythonCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new PythonVideo();
    }

    @Override
    public Article getArticle() {
        return new PythonArticle();
    }
}



